package com.scut.fy.gateway.model.dto;

import java.time.LocalDateTime;
import java.util.List;

public class SysUserDto {

    private Long id;

    private String userName;

    private String password;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String delFlag;

    /**
     * 用户状态6-正常，1-删除，9-锁定

     */
    private String status;

    private String phone;

    private String email;

    /**
     * 密码过期时间
     */
    private LocalDateTime pwdEndTime;

    /**
     * 用户权限
     */
    private List<SysRoleDto> Roles;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public LocalDateTime getPwdEndTime() {
        return pwdEndTime;
    }

    public void setPwdEndTime(LocalDateTime pwdEndTime) {
        this.pwdEndTime = pwdEndTime;
    }

    public List<SysRoleDto> getRoles() {
        return Roles;
    }

    public void setRoles(List<SysRoleDto> roles) {
        Roles = roles;
    }
}
